package com.shop.loan.model.entity;

import java.math.BigDecimal;
import java.util.Date;

public class MachineRuleLogByMybatis {
    /**
     * 
     */
    private Long id;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 
     */
    private Long orderId;

    /**
     * 分数
     */
    private BigDecimal score;

    /**
     * 
     */
    private Date updateTime;

    /**
     * 
     */
    private Long userId;

    /**
     * 规则详情
     */
    private String ruleDetail;

    public MachineRuleLogByMybatis(Long id, Date createTime, Long orderId, BigDecimal score, Date updateTime, Long userId) {
        this.id = id;
        this.createTime = createTime;
        this.orderId = orderId;
        this.score = score;
        this.updateTime = updateTime;
        this.userId = userId;
    }

    public MachineRuleLogByMybatis(Long id, Date createTime, Long orderId, BigDecimal score, Date updateTime, Long userId, String ruleDetail) {
        this.id = id;
        this.createTime = createTime;
        this.orderId = orderId;
        this.score = score;
        this.updateTime = updateTime;
        this.userId = userId;
        this.ruleDetail = ruleDetail;
    }

    public MachineRuleLogByMybatis() {
        super();
    }

    /**
     * 获取
     * @return id 
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id 
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取创建时间
     * @return create_time 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     * @param createTime 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return order_id 
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * 设置
     * @param orderId 
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取分数
     * @return score 分数
     */
    public BigDecimal getScore() {
        return score;
    }

    /**
     * 设置分数
     * @param score 分数
     */
    public void setScore(BigDecimal score) {
        this.score = score;
    }

    /**
     * 获取
     * @return update_time 
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置
     * @param updateTime 
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取
     * @return user_id 
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId 
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取规则详情
     * @return rule_detail 规则详情
     */
    public String getRuleDetail() {
        return ruleDetail;
    }

    /**
     * 设置规则详情
     * @param ruleDetail 规则详情
     */
    public void setRuleDetail(String ruleDetail) {
        this.ruleDetail = ruleDetail == null ? null : ruleDetail.trim();
    }
}